package com.haidechizi.doublecache.enums;

/**
 * @author haidechizi
 */
public enum CacheType {

    /**
     * 获取缓存
     */
    GET("GET"),

    /**
     * 添加缓存
     */
    PUT("PUT"),

    /**
     * 删除缓存
     */
    DELETE("DELETE"),
    ;

    String code;

    CacheType(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }
}
